package com.aos.erp.schools.model.sys.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @program: erp
 * @description:
 * @author: tanzhiyu
 * @create: 2018-11-06 19:06
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("部门用户")
public class UserDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("部门id")
    private String depId;

    @ApiModelProperty("部门名称")
    private String depName;

    @ApiModelProperty("部门code")
    private String depCode;

    @ApiModelProperty("岗位id")
    private String  positionId;

    @ApiModelProperty("岗位code")
    private String positionCode;

    @ApiModelProperty("岗位名称")
    private String positionName;

    @ApiModelProperty("操作人")
    private String operatorName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String created;


}
